/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.ingsoc2;

import java.sql.Connection;
import java.sql.SQLException;

/**
 *
 * @author sebastian
 */
public interface FactoryDAO {
/**
 * 
 * @param conn
 * @return 
 */
    public PeliculaDAO createDAOPelicula(Connection conn);
/**
 * 
 * @param conn
 * @return
 * @throws SQLException 
 */
    public GeneroDAO createDAOGenero(Connection conn) throws SQLException;
/**
 * 
 * @param conn
 * @return
 * @throws SQLException 
 */
    public ModelDB createModelDB(Connection conn) throws SQLException;
/**
 * 
 * @param strConn
 * @param usr
 * @param pwd
 * @return
 * @throws SQLException 
 */
    public Connection createConnection(String strConn, String usr, String pwd) throws SQLException;
}
